package demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class DemoApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(DemoApplication.class, args);
		String port =  context.getEnvironment().getProperty("server.port");
		System.out.println("-------------------------------");
		System.out.println("服务启动成功！");
		System.out.println("访问地址: http://localhost:" + port + "/h5demo");
	}
	
}
